import $ from "jquery";

import "@/css/index.css";
import "@/css/index.less";

import "@/js/test/info.js";

import logo from "@/img/favicon.ico";

$(".box").attr("src", logo);

$(function () {
    $("li:odd").css("backgroundColor", "red");
    $("li:even").css("backgroundColor", "pink");
});

function info(target) {
    target.info = "Person info";
}

@info
class Person {}

console.log(Person.info);
// 故意写错
// consle.log(Person.info);